<!DOCTYPE>
<html>
  <head>
    <meta charset="utf-8">
    <title>IFE JavaScript Task 01</title>
    <script defer src="task.js"></script>
    <style>
      .tag{ margin-right:10px;background:blue;padding:10px;color:#ffffff;cursor: pointer;}
      .hobby{ margin-right:10px;background:red;padding:10px;color:#ffffff;}     
    </style>
  </head>
<body>
  <input id="tagVal" placeholder="请输入tag"><br/><br/>
  <div id="tag"></div><br/>
  <textarea id="textArea" name="" id="" cols="30" rows="10" placeholder="请输入兴趣爱好"></textarea>
  <button id="add">左侧入</button><br/><br/>
  <div id="hobby"></div>

</body>
</html>